package grape.attend.rest.user.mapper;

import grape.attend.rest.user.form.UserVacationSumRecordCreateForm;
import grape.attend.rest.user.form.UserVacationSumRecordListPageForm;
import grape.attend.rest.user.form.UserVacationSumRecordUpdateForm;
import grape.attend.rest.user.vo.UserVacationSumRecordVo;
import grape.attend.service.user.po.UserVacationSumRecord;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户假期余额记录日志表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-18
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserVacationSumRecordWebMapper extends WebMapper<UserVacationSumRecordVo, UserVacationSumRecord> {

    UserVacationSumRecord formToPo(UserVacationSumRecordCreateForm f);
    UserVacationSumRecord formToPo(UserVacationSumRecordUpdateForm f);
    UserVacationSumRecord formToPo(UserVacationSumRecordListPageForm f);
}
